com.supermap.ar.areffect.preset
Class ShapeStyle
- java.lang.Object
-
- com.supermap.ar.areffect.preset.ShapeStyle
-
public class ShapeStyle extends java.lang.Objectshape Style
-
-
Constructor Summary
Constructors Constructor and Description ShapeStyle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ColorgetColor()floatgetMetallic()floatgetRadius()floatgetReflectance()floatgetRoughness()ColorgetSelectedColor()intgetTextureMap()booleanisShadowCaster()booleanisShadowReceiver()ShapeStylesetColor(Color color)ShapeStylesetColor(float r, float g, float b, float a)ShapeStylesetMetallic(float metallic)ShapeStylesetRadius(float radius)ShapeStylesetReflectance(float reflectance)ShapeStylesetRoughness(float roughness)ShapeStylesetSelectedColor(Color selectedColor)ShapeStylesetShadowCaster(boolean shadowCaster)ShapeStylesetShadowReceiver(boolean shadowReceiver)ShapeStylesetTextureMap(int textureMap)
-
-
-
Method Detail
-
getRadius
public float getRadius()
-
setRadius
public ShapeStyle setRadius(float radius)
-
getColor
public Color getColor()
-
setColor
public ShapeStyle setColor(Color color)
-
setColor
public ShapeStyle setColor(float r, float g, float b, float a)
-
isShadowReceiver
public boolean isShadowReceiver()
-
setShadowReceiver
public ShapeStyle setShadowReceiver(boolean shadowReceiver)
-
isShadowCaster
public boolean isShadowCaster()
-
setShadowCaster
public ShapeStyle setShadowCaster(boolean shadowCaster)
-
getMetallic
public float getMetallic()
-
setMetallic
public ShapeStyle setMetallic(float metallic)
-
getRoughness
public float getRoughness()
-
setRoughness
public ShapeStyle setRoughness(float roughness)
-
getReflectance
public float getReflectance()
-
setReflectance
public ShapeStyle setReflectance(float reflectance)
-
getSelectedColor
public Color getSelectedColor()
-
setSelectedColor
public ShapeStyle setSelectedColor(Color selectedColor)
-
getTextureMap
public int getTextureMap()
-
setTextureMap
public ShapeStyle setTextureMap(int textureMap)
-
-